home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / gt_power / gtacs122.zip / GTACCESS.DOC < prev    next >
Text File  |  1989-10-07  |  21KB  |  454 lines

  1.  
  2.                                  
  3.                  GTAccess! Sysop Automation Tool
  4.        A Complement to GT Power 15.xx by P&M Software Co.    
  5.                                  
  6.   Version 1.20 with the Super Indexing features of the GT+Plus Suite!
  7.  
  8.               Copyright (c) 1989: Jason Cory Wright 
  9.                                   TRC Development Group
  10.  
  11.                         October 7, 1989
  12.  
  13. v1.10+  Be sure that you have consolidated your ANSWERx.BBS file into a
  14. ANSWERx.SAV file, and that no ANSWERx.BBS files exist in your GT directory.
  15. If you have been using v1.05 of GTAccess, you will find that you need to
  16. consolidate your answer files for each questionnaire into a ANSWERx.SAV file
  17. (ANSWER1.BBS becomes ANSWER1.SAV, etc.).  For others, you may not have to
  18. do anything but rename your ANSWER1.BBS to ANSWER1.SAV (and so on for each
  19. questionnaire).
  20.  
  21.      GTAccess! was created to automate the upgrading,
  22. notification and maintenance of users on the bulletin board 
  23. system.  It is intended for use in the GTLOGOFF.BAT file.
  24. GTAccess! offers totally automatic message delivery,
  25. user upgrading, and a comprehensive log file, all of which are 
  26. totally sysop definable. 
  27.  
  28.      GTAccess! is compatible with 15.XX version of GT Power.  It
  29. is a complement to the fine Host mode of GT Power Comm and is 
  30. meant to be a valuable time saver for sysops. 
  31.  
  32. Just what is "Super Indexing"?
  33. ------------------------------
  34.   Super Indexing is a feature unique to the group of programs that I
  35.   have written.  GT Tracker, a free logon utility, is the backbone of
  36.   the system.  GT Tracker can be obtained from almost any GT BBS under
  37.   the name GTRCxxxx.ZIP or GTRACxxx.ZIP.  If you do not wish it to
  38.   output anything, versions higher than 1.14 will have a silencer.
  39.   GT Tracker writes pertinent information into a file, which if present,
  40.   GTAccess! will sense its presence and will speed to the user's record
  41.   and update he/she quite rapidly.  The GTGap (the ultimate in door
  42.   conversions for GT) versions 1.50 and higher also have the Super
  43.   Indexing feature to make everything run up to 300% faster.
  44.   Registration is required for this bonus feature.
  45.  
  46. How does registering this program help me?
  47. ------------------------------------------
  48.   Quite a interesting question indeed.  Would you like to remove the
  49.   little "tag" line at the bottom of the message sent to the user?
  50.   Would you like to be able to personalize your copy?  Would you like to
  51.   remove the delay at the end of the program?  Would you like to use the
  52.   Super Indexing feature of GTAccess?  If you answered yes to any of
  53.   these questions, a registration of $10 is in order.  Sure, GTAccess is
  54.   quite functional without registration.  You would not only be
  55.   gaining much for yourself, but your registration fee will be applied
  56.   to helping more utilities be developed and will express to me your
  57.   thanks.  If you would simply print out the REGISTER.FRM file, or write
  58.   the equivalent information in a letter to me and include $10 in any
  59.   form, I will speed your registration code out to you once I receive
  60.   your letter.
  61.  
  62.  
  63. ** BEFORE USING THIS VERSION, NAME YOUR ANSWERx.BBS FILES TO ANSWERx.SAV.
  64. ** You MUST do this, or you risk losing your ANSWER files.  In other words,
  65. rename ANSWER1.BBS to ANSWER1.SAV, etc.  This is because v1.10 and above keeps
  66. a 'master' questionnaire file called ANSWERx.SAV.  All of your valid
  67. questionnaires will be placed in here.  (See end of this doc for more info)
  68.  
  69. Files in the GTAccess! Archive
  70. ------------------------------ 
  71.      Included in the archive, no matter what form it was 
  72. compressed in, are the follow files necessary for operation: 
  73.      GTACCESS.EXE   - The main program
  74.      GTACCESS.DOC   - The documentation you are reading now.
  75.      README  .!!!   - Any last minute additions to the main docs.
  76.      GTACCESS.CNF   - Sample of the Configuration file need for operation
  77.      ACCESS1 .ALL   - Sample "All questions answered" letter 
  78.      ACCESS1 .SOM   - Sample "Some questions answered" letter 
  79.      ACCESS1 .NON   - Sample "No questions answered" letter 
  80.      REGISTER.FRM   - Registration Form
  81.      DROPDTR1.EXE   - Drops user off before GTLOGOFF.BAT is over - COM1
  82.      DROPDTR2.EXE   - Same as above - for use with COM2
  83. All of these files will be explained in detail. 
  84.  
  85.  
  86. File Descriptions 
  87. ----------------- 
  88.      DROPDTR1.EXE is included to literally drop DTR to disconnect the
  89. caller before the batch file is over.  I use it in mine because my
  90. GTLOGOFF.BAT file is quite lengthy and I would rather them not have to
  91. wait to be disconnected.  Therefore, it is the first command in my
  92. batch file.  It will only work with COM1: and I am including it because
  93. it will benefit those who don't have it already with very little increase
  94. in the size of the archive.  Run it by typing "DROPDTR1". DROPDTR2 is for
  95. use with COM2.
  96.  
  97.      You will be creating and/or modifying the following files
  98. with a standard ASCII text editor.  An example of each has been 
  99. included in the archive file, but you will definitely want to 
  100. change these and make your own as you set up GTAccess! 
  101.  
  102.       
  103. GTACCESS.CNF -   This is a text file with 8 lines and must
  104.                  exist in your GTPATH.
  105.    Line 1:  The name of your BBS. 
  106.             (Once you register, you will put the name as I give 
  107.             it to you here on line 1) 
  108.    Line 2:  Your registration number.  If you are               
  109.             unregistered, then place a 0 here. 
  110.    Line 3:  Public Message Base Path (for public annoucements made with opt 3.)
  111.    Line 4:  Private Msg Base Path (for private user letters)
  112.    Line 5:  Sysop Message Base Path (for msgs to sysops)
  113.    Line 6:  LAN or NOLAN - meaning "I have a LAN" or "I don't" respectively
  114.    Line 7:  Your Lan path or "NOPATH".  If you are not using a LAN, then be
  115.             sure you put NOPATH here.  Otherwise, please put your LAN path here.
  116.    Line 8:  Sysop's name
  117.  
  118. -> Be sure to include all 8 lines in your CNF file.  Otherwise GTAccess may not
  119.    work like it should!  Lines 3-5 were placed there by request.  If you are
  120.    using one message base for everything, you will still need to put in the
  121.    same path 3 times.  You don't need to put trailing backslashes on the
  122.    message base paths.  Just put them into the GTACCESS.CNF file just
  123.    like they are in your GTMDIR.BBS file.  See the example GTACCESS.CNF file
  124.    enclosed with the ZIP file. <-
  125.  
  126.  
  127. ACCESSx.ALL -  (x denotes the # of the questionnaire.  e.g. 
  128. Questionnaire 2 would need ACCESS2.ALL.) 
  129. This is a sysop-definable text file that serves as the letter 
  130. that will be sent to the user if he answers the required number 
  131. of questions to questionnaire 'x'. 
  132.  
  133. ACCESSx.SOM - This is a sysop-definable text file that functions
  134. as the letter sent if the user answered some, but not all, of the
  135. required number of questions to questionnaire 'x'. 
  136.            
  137. ACCESSx.NON - This is a sysop-definable text file that serves as
  138. the letter sent to the user when he has not answered 
  139. questionnaire 'x' at all.           
  140.  
  141. Each questionnaire can have a set of those ACCESSx files.
  142. Questionnaire 1 might have ACCESS1.ALL, ACCESS1.SOM, and
  143. ACCESS1.NON or a combonation of any/all 3 according to how you want to
  144. set up your message delivery.
  145.  
  146. ** The first two lines of the ACCESSx files have special meanings
  147. Line 1 is used to show who the message is from and is put in the
  148. "From" area of the message. 
  149. Line 2 is the subject of the letter and will be placed in the 
  150. "Subject" field of the message. 
  151.  
  152. If you leave the first two lines blank, default values will be 
  153. placed in the message - the sysop's name and "Questionnaire 'x'"
  154. respectively. 
  155. ** BE SURE that you don't start your actual letter until line 3!!
  156.  
  157.  
  158. The Story behind GTAccess! 
  159. -------------------------- 
  160.      In order for you to be able to get a clear picture of how 
  161. you want to set up GTAccess!, I am going to give you a 
  162. description, as best I can, of how GTAccess! works.  Examples 
  163. will follow at the end of the this file. 
  164.            
  165.      GTAccess! first looks for the GTPATH environment variable 
  166. and then goes to work verifying that the files are there, and 
  167. then reading them for information.  It looks at GTACCESS.CNF to find
  168. out if you are running on a Local Area Network, and to find the 
  169. location of your Sysop message base, and the default User message
  170. base.  It also reads GTUSER.BBS and parses information.  It looks in
  171. the USER.CTL file to find the user's account.  From there, it 
  172. compares the access level of the user to the access level you 
  173. started GTAccess! with (more on this later).  If the accesses are
  174. found to be identical, the following decisions are made.
  175.  
  176.      1) The user didn't answer any of the questionnaire 
  177.      2) The user answered only some of the needed questions 
  178.      3) The user answered all of the questions 
  179.  
  180.   PLEASE NOTE: Messages are sent only if you specify it on the  
  181.                command line AND if the messages exist.
  182.  
  183.      If the user did not answer any of the questionnaire, then, 
  184. IF it EXISTS, ACCESSx.NON will be sent to the user, the sysop
  185. will receive a message informing him of the occurrence and the
  186. log file will be updated.  No access levels will be changed
  187.  
  188.      If the user only answered some of the questionnaire, then, 
  189. IF it EXISTS, ACCESSx.SOM will be sent to the user, the sysop
  190. will receive a message informing him of the occurrence and the
  191. log file will be updated.  No access levels will be changed.
  192.  
  193.      If the user answered all of the required questions to the 
  194. questionnaire, then, IF it EXISTS, ACCESSx.ALL will be sent to
  195. the user, his access level will be upgraded, you will be sent a 
  196. message informing you of the changes, and, if specified, a 
  197. broadcast message to ALL will be sent informing the other members
  198. of the BBS that a new user has logged on. 
  199.  
  200.  
  201. How to invoke GTAccess! 
  202. ----------------------- 
  203.      GTAccess! is started in the following form: 
  204.  
  205.           GTACCESS a b c d  
  206.      OR-> GTACCESS a b c d e 
  207.  
  208. You have to pass either four or five parameters to GTAccess!
  209.  
  210.   a - The number of the questionnaire file to use 
  211.  
  212.   b - If the last caller had this access level, then 
  213.       questionnaire 'a' will be searched.
  214.  
  215.   c - This is the access level that the user will be upgraded to
  216.       if they have filled out all of questionnaire 'a'.
  217.  
  218. ONE NOTE ABOUT Parameters 'b' and 'c':   
  219.      QuickBASIC was used to compile this program.  It 
  220. automatically changes everything on the command line to 
  221. uppercase.  Therefore, if you have an access level that is in 
  222. lowercase, you will need to put an exclamation mark before it. 
  223.  
  224. For example: 
  225.   GTACCESS 1 !c t 3   or GTACCESS 1 !c T 3 
  226. will look for the last user on to have had a 'c' access.  It will
  227. look at questionnaire 1, and upgrade them to level T if 
  228. everything was answered, plus do everything that option 3 
  229. designates.   
  230.  
  231.      Therefore  GTACCESS 1 v s 3    
  232. is the SAME as: GTACCESS 1 V S 3 
  233.  
  234. Again, if you wish to have GTAccess! look for lowercase levels, 
  235. then you need to precede them with an exclamation point (!). 
  236.  
  237.  
  238.   d - This is a number that defines how you wish to send messages
  239.  
  240.       
  241.       0 - No messages will be sent. 
  242.  
  243.       1 - Only a sysop message will be sent. 
  244.  
  245.       2 - Both a private message to the user and a message to the
  246.           sysop will be sent.
  247.  
  248.       3 - A private message to the user, a message to the sysop,
  249.           and a message to ALL welcoming the new user will be sent.
  250.  
  251.       4 - A message will be sent to the sysop and the user ONLY 
  252.           if the ACCESSx.* file exists.  I found it necessary to include
  253.           this option for this reason:
  254.  
  255.    I have a standard user access level (S) and a visiting sysop
  256. access level (O).  I run GTAccess! twice in the GTLOGOFF.BAT 
  257. file.  Once to check for upgrading from V (Visitor-new user) to 
  258. S, and another time for checking from S to O.  The only problem 
  259. was that, since most all people are level S, and since the 
  260. visiting sysops answer both questionnaires, I was getting a 
  261. message EVERY time a standard user logged off without answering 
  262. questionnaire 2.  Therefore, I use option 4 and do not have a 
  263. ANSWER2.NON file present.  So, when GTAccess detects that a level
  264. S user logged off without answering questionnaire 2, it can't 
  265. find the ACCESS2.NON file, so, using option 4, it doesn't send a
  266. message at all. 
  267.       
  268.      5 - ONLY the sysop will get a message ONLY if ALL the 
  269.          questions were answered.  (ACCESSx.ALL need not be present)
  270.  
  271.      6 - Only the user will get a private message, ONLY if the
  272.          appropriate message file exists (ACCESSx.*).  This means there
  273.          is no sysop notification via messages.  GTACCESS.LOG will still
  274.          contain the results of the upgrade.
  275.  
  276.  
  277. e -  This parameter is optional.  Without this entry, GTAccess! 
  278.      expects ALL of the specified questionnaire to have been 
  279.      answered before it will upgrade their access.  This 
  280.      parameter allows you to specify the required number of 
  281.      responses to have been answered starting from the first 
  282.      entry.  Therefore, if you put a 7 here, it will only look 
  283.      for the first 7 answers to have been completed.  REMEMBER: 
  284.      If you use this option, be sure that if you are using the 
  285.      Time/Date stamp [%DT] that you include that as a response if
  286.      necessary. 
  287.  
  288.      If the access levels are the same on the command line, then
  289. the user's level will not be upgraded.  Option 3 is also 
  290. disabled when the access levels are the same.   I suggest using 
  291. this option when you want to keep tabs on questionnaire activity. 
  292.  
  293. I also suggest that you use Option 4 with this one and do not 
  294. have an ACCESSx.NON file.  This way, you will never know if a 
  295. user doesn't answer it, but if he does, and you have the 
  296. ACCESSx.SOM or ACCESSx.ALL file(s) present, then both you and him
  297. will know.  Option 5 can also be used to send just you a message
  298. and not him -- it works the same as Option 4, but with no user 
  299. notification. 
  300.  
  301.  
  302. Tricks and Tips 
  303. --------------- 
  304.      Lots of things can be accomplished with this program.  
  305. Specifically the fact that, if a message is not present, it will
  306. not be sent to the user, but you will be notified (unless you are
  307. using option 4).  So, you might want to leave out ACCESSx.ALL and
  308. just have ACCESSx.NON, so that you'll know what the person is 
  309. doing all the time, but he only knows when he HASN'T answered the
  310. questionnaire.  This allows for lots of possibilities. 
  311.  
  312. Examples 
  313. -------- 
  314.      GTACCESS 1 !f Z 3    would upgrade the user from level 'f' 
  315. to level 'Z' if they answered all of the questionnaire.  If 
  316. ANSWER1.ALL existed, it would be sent to the user, along with a 
  317. message to everyone announcing that the user is new to the BBS 
  318. and for everyone to say hello.  If the user only answered part or
  319. none of the questionnaire, then ACCESS1.SOM, or ACCESS1.NON 
  320. (respectively), would be sent to the user.  In any case, you 
  321. would be informed of what happened. 
  322.  
  323.      GTACCESS 3 !a 2 4 8   would upgrade the user from level 'a'
  324. to level '2' if he answered the first 8 questions to 
  325. questionnaire 3.  It would send the sysop and the user a message
  326. ONLY if ACCESS3.ALL existed.  If he was to only answer part or 
  327. none of questionnaire 3, then ACCESS3.SOM, or ACCESS3.NON 
  328. (respectively), would be sent to the user and a message would be
  329. sent to the sysop, IF the file existed.   
  330.  
  331.      I could go on and on, but you will realize what you can do 
  332. with it the more you practice.  If you need any help, please 
  333. contact me at my BBS or netmail me at GTNetNode 070/002.
  334.  
  335.  
  336. GTAccess also will save all of the users that have valid questionnaires
  337. into a file named ACCESSx.SAV.  This will be your master questionnaire file.
  338. Therefore, ANSWERx.BBS will not exist in your GT directory when using GTAccess.
  339. This was added to prevent duplicating of names when updating the ANSWER file.
  340.  
  341. All errors will be recorded into GTACCESS.ERR.  Please report this to me
  342. at netnode 070/002 immediately or call.  Thanks!
  343.  
  344. Benefits of Registration
  345. ------------------------ 
  346.      Of course, as stated above, registration is highly recommended if you
  347. find GTAccess! to be of use to you.  The registration fee is only
  348. $10 (USA) and should be sent if you continue to use GTAccess! for
  349. over 3 weeks (21 days). 
  350.  
  351.      Registration DOES have its benefits  You will be
  352. able to personalize your copy of GTAccess!.  Not only will it 
  353. show up as "Registered to xxxxx BBS" on the screen, but at the 
  354. bottom of the messages, there will no longer be a tagline.
  355. It will also bypass the 4 second delay at the end of the program.
  356.  
  357. ** Registration REMOVES the tag line on all of the messages sent to
  358.    users and inserts your name instead of 'GTAccess!'.  In addition, it
  359.    will allow the Super Indexing feature to be used.
  360.  
  361.  
  362. Credits 
  363. ------- 
  364.      The inspiration for me to write this utility for GT 15.xx 
  365. was from the utility for GT 14.xx called ALLOW by Tony Lenox of 
  366. Pontiac, Michigan.  In fact, I used his documentation for a 
  367. guideline to writing my program. You will find GTAccess! much the same at
  368. times, but GTAccess! has some different options designed to be 
  369. quite flexible.  Many thanks to those who've gone before! 
  370.  
  371.                                  
  372.                            DISCLAIMER 
  373.  
  374. This software package is provided 'as is' without warranty, 
  375. either expressed or implied.  The entire risk, as to the quality
  376. and performance of the software is with you, the user. 
  377.  
  378.      In no way will I, Jason Cory Wright, or any other party 
  379. involved with the creation, production, distribution, or delivery
  380. of this software be liable for any direct, indirect, 
  381. consequential, or incidental damages which may arise from the 
  382. use or inability to use this software.  Furthermore, neither I 
  383. nor any of the aforementioned parties will be held responsible 
  384. for any damages to your computer or the loss of information 
  385. stored in any form on your computer either from direct, or 
  386. indirect use of this software. 
  387.  
  388.      TRC Development Group, just as Jason Cory Wright, will be
  389. bound and protected by the same disclaimers made for Jason Cory Wright.
  390.  
  391.      The user of this software is granted a license to use, copy
  392. and distribute the program under the following conditions: 
  393.  
  394.      1)   Jason Cory Wright reserves the Copyright and the sole  
  395.           right to distribute this software for profit. 
  396.  
  397.      2)   No part of this program or documentation may be altered
  398.           without the expressed written consent of Jason Cory 
  399.           Wright. 
  400.  
  401.      3)   Use of this software is contingent upon the user 
  402.           accepting the terms of this license and disclaimer 
  403.           as described herein. 
  404.  
  405.      4)   After a trial period of 3 weeks, you are required to  
  406.           register the program with its author.  Registration is 
  407.           $10 (USA) and must be sent to the author, Jason Cory
  408.           Wright, at the address below.  
  409.  
  410.      5)   Jason Cory Wright reserves the right to make 
  411.           corrections and additions to this documentation with no
  412.           prior notice and will not be held accountable for any 
  413.           false or unclear information in this documentation that
  414.           would cause you to use the software in such a way that
  415.           was not intended. 
  416.  
  417.                                                                  
  418.  
  419. And Finally...
  420. --------------
  421.      I am glad you have taken the time to look at GTAccess!  I 
  422. have 3 other programs out there at the present.
  423.  
  424.      The GTGap! - A program that allows GT to run GAP, PCBoard 
  425. 12, PCBoard 14, Wildcat!, Doorway, and QuickBBS/RBBS doors with 
  426. one file converter! 
  427.  
  428.      GTNews! is a professional Bulletin maker (GTBULLET.BBS) that
  429. creates great color and normal bulletins.  It also ranks them 
  430. from newest to oldest.
  431.  
  432.      GT Tracker is a program that runs in the GTLOGON.BAT file that
  433. announces vital board statistics (caller #, who was last on, etc) to
  434. the caller.  It is designed to be a fast all-purpose logon utility
  435.  
  436. No BRUNxx's are required for the operation of any of the programs.
  437. -----------------------------------------------------------------
  438.  
  439. Please direct all your comments, suggestions, and registrations to:
  440.  
  441. Cory Wright                        The Rising Connection 
  442. 8726 Farmington Drive              (615) 531-8789 - Hayes 9600V 
  443. Knoxville, Tennessee  37923-1633   GTNet/Node:  070/002 
  444.  
  445. I am looking forward to your feedback on this program!!!
  446. If you like it at all, netmail me and LET ME KNOW!
  447.  
  448.                                                                  
  449.  
  450. A word about this program and LAN's 
  451. ----------------------------------- 
  452. v1.20 should work fairly well in the LAN environment.  Anyone willing to beta
  453. test is encouraged to contact me via netmail at 070/002.
  454.